﻿using System.ComponentModel;

namespace SxPackages.STC32G.Models
{
	/// <summary>
	/// SPI接口类型
	/// </summary>
	enum SPITypes
	{
		/// <summary>
		/// 普通SPI
		/// </summary>
		[Description("普通SPI")]
		SPI = 0,
		/// <summary>
		/// 模拟SPI
		/// </summary>
		[Description("模拟SPI")]
		SOFT,
		/// <summary>
		/// 串口1作为SPI
		/// </summary>
		[Description("串口1作为SPI")]
		USART1,
		/// <summary>
		/// 串口2作为SPI
		/// </summary>
		[Description("串口2作为SPI")]
		USART2,
	}
}